package com.alibaba.Day05;

import java.sql.SQLOutput;

public class Constructor {
   /* public String name;
    public int count;
    public Constructor(String name, int count){
        this.name = name;
        this.count = count;
    }

    public static void main(String[] args)
    {
        var tc = new Constructor("周媛媛",599);
        System.out.println(tc.name);
        System.out.println(tc.count);
    }*/

    public String name;
    public int count;
   /* public Constructor(){

    }
    public Constructor(String name,int count){
        this.name = name;
        this.count = count;
    }

    public static void main(String[] args) {
        var ber = new Constructor("哈哈哈",999);
        System.out.println("姓名是" + ber.name + ", 以及总数是" + ber.count);
    }
    */
    /*public double weight;
    public Constructor(){

    }

    public Constructor(String name,int count){
        this.count = count;
        this.name = name;
    }

    public Constructor(String name, int count, double weight)
    {
        this(name,count);
        this.weight = weight;
    }

    public static void main(String[] args) {
        var ber = new Constructor("hhhh",7879,7899.8);
        System.out.println(ber.count);
        System.out.println(ber.weight);
        System.out.println(ber.name);
    }*/






}
